package xin.lhuo.we.server.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * @author Lhuo
 * @date 2019/6/29 17:27
 */
@Getter
@Setter
@ToString
public class Node {
    private Integer id;
    @JsonInclude(value = JsonInclude.Include.NON_EMPTY)
    private Integer userId;
    private String title;
    private String category;
    @JsonInclude(value = JsonInclude.Include.NON_EMPTY)
    private String content;
    @JsonInclude(value = JsonInclude.Include.NON_EMPTY)
    private String contentHtml;
    private String author;
    private String imageKey;
    private String imageUrl;
    private Date createTime;
}
